package com.bxshey.happyTown.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bxshey.happyTown.entity.CardRolls;
import com.bxshey.happyTown.vo.cardRolls.CardRollsVO;
import com.bxshey.happyTown.vo.cardRolls.RecordingVO;

import javax.mail.MessagingException;
import java.util.List;

/**
 * @作者：不想说话而已
 * @Date：2024/1/4 12:13
 */
public interface CardRollsService extends IService<CardRolls> {

    //查询用户所有卡卷
   List<CardRollsVO> queryALL(Integer uid, Integer statue);

   //新增用户卡卷
   Integer insertOne(Integer uid, Integer kind);

   //获取所有卡卷记录
    List<RecordingVO> recording(Integer uid);

    //使用卡卷
    Integer choose(Integer uid,Integer id) throws MessagingException;

}
